package org.dlnu.xeon.dao;

import org.apache.ibatis.annotations.Mapper;
import org.dlnu.xeon.domain.User;
import org.dlnu.xeon.domain.Vaccination;

import java.util.List;
@Mapper
public interface VaccinationDao {

    void insertVac (Vaccination vaccination);

    List<Vaccination> selectAllVac();

    Vaccination selectVacByDid (Long did);

    List<Vaccination> selectVacByUid (Long uid);

    List<Vaccination> selectVacByDose(String dose);

    Vaccination selectVacByBatchNumber(String batch_number);

    void updateVac (Vaccination vaccination);

    void deleteVacByDid (Long did);

    void deleteVacByUid (Long uid);
}
